home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / xlisp16.arc / FACT.LSP < prev    next >
Text File  |  1986-01-06  |  81b  |  6 lines

  1. (defun fact (n)
  2.        (if (< n 2)
  3.            1
  4.        (* n (fact (1- n)))))
  5.  
  6.